package net.maku.module.train.convert;

import net.maku.module.train.entity.CourseEntity;
import net.maku.module.train.vo.CourseVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 业务_课程
*
* @author    
*/
@Mapper
public interface CourseConvert {
    CourseConvert INSTANCE = Mappers.getMapper(CourseConvert.class);

    CourseEntity convert(CourseVO vo);

    CourseVO convert(CourseEntity entity);

    List<CourseVO> convertList(List<CourseEntity> list);

}